public with sharing class PaymentDetails extends AbstractBean
{
	public static String PAYMENT_TYPE_CHEQUE = 'Cheque';
	
	public static String PAYMENT_TYPE_DD = 'Direct Debit';
	
	public String paymentOption {get;set;}
	
	public Cheque cheque{get;set;}
	
	public DirectDebit directDebit{get;set;}
	
	public PaymentDetails()
    {
    	this.paymentOption = 'directDebit';
        this.cheque = new Cheque();
        this.directDebit = new DirectDebit();
    }
    
    public class DirectDebit
    {
    	public String accountName {get;set;}
    	
    	public String bankName {get;set;}
    	
    	public String bsb {get;set;}
    	
    	public String accountNumber {get;set;}
    }
    
    public class Cheque
    {
    	public String name {get;set;}
    	
    	public String address {get;set;}
    }

}